a,b=0,1
while b<10:
    a,b=b,b+a
    print(a,b)

# age=int(input("请输入你的年龄"))
# if age<0:
#     print("你在逗我吗!")
# elif age<20:
#     print("好好学习吧")
# elif age<50:
#     print("可还行")
# else:
#     print("激活")


# s1=2
# s2=3
# while s1!=s2:
#     s2=int(input("猜数字"))
#     if s1==s2:
#         print("66666666")
#     elif s1<s2:
#         print("大了")
#     else: 
#         print("小了")

print(list(range(2,2)))

for n in range(2, 10):
    print("大循环 %d" %(n))
    for x in range(2, n):
        print("小循环 %d"% (x))
        if n % x == 0:
            print(n, '等于', x, '*', n//x)
            break
    else:
        #未跳出就会执行else
        # 循环中没有找到元素
        print(n, ' 是质数')